<%--
  Created by IntelliJ IDEA.User: 19079Date: 2020/11/23ime: 12:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>考勤列表</title>
</head>
<body>
    <div>
            <form action="index.html" method="post">
                姓名：<input type="text" name="staffName" value="${staffName}">
                <input type="submit" value="查询">
            </form>
        <a href="add.html">添加</a>
        <br/>
        <table>
            <tr>
                <th>编号</th>
                <th>姓名</th>
                <th>部门</th>
                <th>性别</th>
                <th>日期</th>
                <th>签到日期</th>
                <th>签退日期</th>
                <th>备注</th>
            </tr>
            <c:forEach items="${list}" var="list">
                <tr>
                    <td>${list.attendld}</td>
                    <td>${list.staffName}</td>
                    <td>${list.deptName}</td>
                    <td>${list.sex}</td>
                    <td>${list.attendDate}</td>
                    <td>${list.attendIn}</td>
                    <td>${list.attendOut}</td>
                    <td>${list.remark}</td>
                </tr>
            </c:forEach>
        </table>
    </div>
</body>
</html>
